package cn.tedu.tmall.admin.content.dao.persist.mapper;

import cn.tedu.tmall.admin.content.pojo.entity.Article;
import cn.tedu.tmall.common.pojo.po.ArticleSearchPO;
import cn.tedu.tmall.common.pojo.po.GoodsSearchPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ArticleMapper extends BaseMapper<Article> {

    /**
     * 预加载商品的搜索数据
     *
     * @return
     */
    List<ArticleSearchPO> listSearch();
}
